@import "../../themes/vars.less";
@nth-child1:10%;
@nth-child2:10%;
@nth-child3:8%;
@nth-child4:8%;
@nth-child5:8%;
@nth-child6:8%;
@nth-child7:10%;
@nth-child8:5%;
.table {
  border-top:solid 1px #e9e9ea;
  border-right:solid 1px #e9e9ea;
  td.avatar {
    img {
      border-radius: 50%;
    }
  }
  
  :global {
    .ant-pagination-item{
        margin-bottom: 0!important;
    }
    .ant-table-content{
      height:e("calc(100vh - 268px)");          
    }
    .ant-table-fixed{
      border:none!important
    }
    .ant-table-tbody > tr > td{
      font-size:14px;
      padding:4.5px 16px;
      border-bottom:solid 1px #e9e9ea !important;
      border-left:solid 1px #e9e9ea;
      border-right:none !important;
      text-align: left;
      padding-left: 10px;
      cursor:pointer;
        &:nth-child(1) {
          width: @nth-child1;
        }

        &:nth-child(2) {
          width: @nth-child2;
        }

        &:nth-child(3) {
          width: @nth-child3;
        }

        &:nth-child(4) {
          width: @nth-child4;
        }

        &:nth-child(5) {
          width:@nth-child5;
        }

        &:nth-child(6) {
          width: @nth-child6;
        }

        &:nth-child(7) {
          width: @nth-child7;
        }
        &:nth-child(8) {
          width: @nth-child8;
        }
    }
    .ant-table-thead > tr > th {
      padding:10px 0;
      font-size:14px;
      font-weight:bold;
      border-bottom:solid 1px #e9e9ea;
      border-left:solid 1px #e9e9ea;
      border-right:none !important;
      background-color:#fff;
      text-align: left;
      padding-left: 10px;
        &:nth-child(1) {
          width: @nth-child1;
        }

        &:nth-child(2) {
          width: @nth-child2;
        }

        &:nth-child(3) {
          width: @nth-child3;
        }

        &:nth-child(4) {
          width: @nth-child4;
        }

        &:nth-child(5) {
          width:@nth-child5;
        }

        &:nth-child(6) {
          width: @nth-child6;
        }

        &:nth-child(7) {
          width: @nth-child7;
        }
        &:nth-child(8) {
          width: @nth-child8;
        }
    }
  }

  &.motion {
    :global {
      .ant-table-thead > tr > th 
      .ant-table-tbody > tr > td,{
        &:nth-child(1) {
          width: 5%;
        }

        &:nth-child(2) {
          width: 10%;
        }

        &:nth-child(3) {
          width: 10%;
        }

        &:nth-child(4) {
          width: 10%;
        }

        &:nth-child(5) {
          width: 5%;
        }

        &:nth-child(6) {
          width: 35%;
        }

        &:nth-child(7) {
          width: 15%;
        }

        &:nth-child(8) {
          width: 10%;
        }
      }

      .ant-table-thead {
        & > tr {
          transition: none;
          display: block;
          & > th {
            background-color:#fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
          }
        }
      }

      .ant-table-tbody {
        & > tr {
          height:40px;
          transition: none;
          display: block;
          border-bottom: 1px solid #cccccc;
          & > td {
            border-bottom: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
          }
          &.ant-table-expanded-row-level-1 > td {
            height: auto;
            height:40px;
          }
        }
      }
    }
  }
}
.centerbox{
  width:100%;
  height:e("calc(100vh - 118px)");
  .userList{
    width:250px;
    height: e("calc(100vh - 117px)");
    float:left;
    background-color:#fff;
    border-right:solid 1px #eaeef4;
    .title{
      width:100%;
      height:60px;
      border-bottom:solid 1px #eaeef4;
      line-height:60px;
      .left{
        padding-left:10px;
        float:left;
        font-size:16px;
        color:#04021D;
        font-family:'Microsoft YaHei';
        .icon{
          font-sizw:14px;
          color:#666666;
        }
      }
      .right{
        float:right;
        padding-right:10px;
        .btnstyle{
          font-size:@btnstyle;
          height:32px;
        }
      }
    }
    .listboxs{
      width:100%;
      height:e("calc(100vh - 274px)");
      overflow-y:auto;
      box-sizing:border-box;
    }
    .listboxNO{
      width:100%;
      height:e("calc(100vh - 195px)");
      overflow-y:auto;
      box-sizing:border-box;
    }
    .listxuan{
      width:100%;
      cursor: pointer;
      height:78px;
      box-sizing:border-box;
      padding:5px 30px;
      background-color:#cccccc;
      .listCenter{
        display:flex;
        justify-content: space-between;
        .fontnum{
          font-size:14px;
          color:#74708D;
        }
        .listTit{
          font-size:14px;
          color:#211640;
        }
        .fontcz{
          font-size:12px;
          color:#74708D;
        }
        .fontBtn{
          border:solid 1px #e9e9ea;
          padding:2px 13px;
          border-radius:5px;
          cursor: pointer;
          background-color:#fff;
        }
      }
    }
    
    .list{
      width:100%;
      cursor: pointer;
      height:78px;
      box-sizing:border-box;
      padding:5px 30px;
      border-bottom: solid 1px #e9e9ea;
      &:hover{
        background-color:#eee;
      }
      .listCenter{
        display:flex;
        justify-content: space-between;
        .fontnum{
          font-size:14px;
          color:#74708D;
        }
        .listTit{
          font-size:14px;
          color:#211640;
        }
        .fontcz{
          font-size:12px;
          color:#74708D;
        }
        .fontBtn{
          border:solid 1px #e9e9ea;
          padding:2px 13px;
          border-radius:5px;
          cursor: pointer;
          background-color:#fff;
        }
      }
    }
    
    .Pagination{
      width:100%;
      height:90px;
      line-height:90px;
      text-align:center
    }
  }
  .userInfo{
    width:e("calc(100% - 250px)");
    height:e("calc(100vh - 117px)");
    float:right;
    background-color:#fff;
    padding:0 0 24px; 
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.01);
    .userInfobx{
      height:e("calc(100vh - 223px)");
      overflow-y: auto;
      box-sizing: border-box;
      margin-top: 40px;
    }
  }
}
.filterTop{
  width:100%;
  height:60px;
  border-bottom:solid 1px #e9e9ea;
  line-height:57px;
  padding:0 10px;
  .Searchright{
    float:right
  }
  .title{
    float:left;
    font-size:16px;
    color:#04021D;
  }
}
.listbox{
  padding: 10px 10px;
  height:e("calc(100vh - 177px)");
  overflow-y:auto;
  box-sizing:border-box;
  .listTop{
    width:100%;
    height:56px;
    line-height:56px;
    border-bottom:solid 1px #e9e9ea;
    .lock{
      font-size:16px;
      color:#211640;
      padding-left:25px;
    }
  }
}

.rowheight{
  height: e("calc(100vh - 500px)");
  overflow-y: auto;
  margin-bottom: 15px;
}
.tatleHeader{
  border-top: 1px solid #e9e9ea;
  border-right: 1px solid #e9e9ea;
}
.tatlebody{
  height: inherit;
  padding-left: 10px;
  border: solid 1px #e9e9ea;
  border-right: none;
  border-top: none;
}
.tealeBor{
  min-height: 40px;
  width: 60%;
 .tealeTr{
   width: 20%;
    padding: 10px;
    text-align: left;
    border-bottom: solid 1px #e9e9ea;
    border-left: solid 1px #e9e9ea;
 }
 .tealeTrl{
    text-align: left;
    padding: 10px;
    border-bottom: solid 1px #e9e9ea;
    border-left: solid 1px #e9e9ea;
 }
}
.createUpdate{
  display: none
}
.viewbx{
  background-color: #108ee9;
  margin: 20px 30px;
  padding: 20px 0;
  text-align: center;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
}
.driverLogo{
  width: 60px;
}
.editBtn{
  background-color: #fff;
  border-radius: 3px;
  border:solid 1px #e9e9ea;
  padding:3px 7px;
  outline: none;
  cursor: pointer;
  &:hover{
    background-color: #f1f1f1;
    border:solid 1px #e9e9ea
  }
}
.editbk{
  margin-right:20px !important;
  border-radius: 3px !important;
}
.ImgMax{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}